home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / text / html / HTMLDocument$HTMLReader$EndOfLineAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  1.3 KB  |  28 lines

  1. package javax.swing.text.html;
  2.  
  3. import javax.swing.text.MutableAttributeSet;
  4. import javax.swing.text.html.HTMLDocument.HTMLReader;
  5.  
  6. class HTMLDocument$HTMLReader$EndOfLineAction extends HTMLDocument.HTMLReader.TagAction {
  7.    // $FF: synthetic field
  8.    private final HTMLDocument.HTMLReader this$1;
  9.  
  10.    HTMLDocument$HTMLReader$EndOfLineAction(HTMLDocument.HTMLReader var1) {
  11.       super(var1);
  12.       this.this$1 = var1;
  13.    }
  14.  
  15.    public void end(HTML.Tag var1) {
  16.    }
  17.  
  18.    public void start(HTML.Tag var1, MutableAttributeSet var2) {
  19.       if (this.this$1.emptyDocument && var2 != null) {
  20.          Object var3 = var2.getAttribute("__EndOfLineString__");
  21.          if (var3 != null && var3 instanceof String) {
  22.             HTMLReader.access$0(this.this$1).putProperty("__EndOfLine__", var3);
  23.          }
  24.       }
  25.  
  26.    }
  27. }
  28.